package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2020-02-22
 */
@TableName("planlist")
public class PackageList extends Model<PackageList> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;
    /**
     * 套餐名称
     */
    @TableField("PlanName")
    private String planName;
    /**
     * 持续时间
     */
    @TableField("Duration")
    private Integer packageDuration;
    /**
     * 时间单位
     */
    @TableField("DurationUnit")
    private String durationUnit;
    /**
     * 开始时间
     */
    @TableField("StartDate")
    private String startDate;
    /**
     * 结束时间
     */
    @TableField("EndDate")
    private String endDate;
    /**
     * 价格
     */
    @TableField("Price")
    private Float packagePrice;
    /**
     * 货币单位
     */
    @TableField("Currency")
    private String currency;
    /**
     * 重新加入次数
     */
    @TableField("RejoinCount")
    private Integer rejoinCount;

    @TableField("AppleProductID")
    private String appleProductID;

    @TableField("GoogleProductID")
    private String googleProductID;
    /**
     * ApplePay价格
     */
    @TableField("ApplePayPrice")
    private Float applePayPrice;
    /**
     * GooglePay价格
     */
    @TableField("GooglePayPrice")
    private Float googlePayPrice;
    /**
     * 支持设备数量
     */
    @TableField("NumOfDevice")
    private Integer numOfDevice;
    /**
     * 支持最大设备数量
     */
    @TableField("MaxOfDevice")
    private Integer maxOfDevice;
    /**
     * 状态
     */
    @TableField("Status")
    private Integer status;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }

    public Integer getPackageDuration() {
        return packageDuration;
    }

    public void setPackageDuration(Integer packageDuration) {
        this.packageDuration = packageDuration;
    }

    public String getDurationUnit() {
        return durationUnit;
    }

    public void setDurationUnit(String durationUnit) {
        this.durationUnit = durationUnit;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Float getPackagePrice() {
        return packagePrice;
    }

    public void setPackagePrice(Float packagePrice) {
        this.packagePrice = packagePrice;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public Integer getRejoinCount() {
        return rejoinCount;
    }

    public void setRejoinCount(Integer rejoinCount) {
        this.rejoinCount = rejoinCount;
    }

    public String getAppleProductID() {
        return appleProductID;
    }

    public void setAppleProductID(String appleProductID) {
        this.appleProductID = appleProductID;
    }

    public String getGoogleProductID() {
        return googleProductID;
    }

    public void setGoogleProductID(String googleProductID) {
        this.googleProductID = googleProductID;
    }

    public Float getApplePayPrice() {
        return applePayPrice;
    }

    public void setApplePayPrice(Float applePayPrice) {
        this.applePayPrice = applePayPrice;
    }

    public Float getGooglePayPrice() {
        return googlePayPrice;
    }

    public void setGooglePayPrice(Float googlePayPrice) {
        this.googlePayPrice = googlePayPrice;
    }

    public Integer getNumOfDevice() {
        return numOfDevice;
    }

    public void setNumOfDevice(Integer numOfDevice) {
        this.numOfDevice = numOfDevice;
    }

    public Integer getMaxOfDevice() {
        return maxOfDevice;
    }

    public void setMaxOfDevice(Integer maxOfDevice) {
        this.maxOfDevice = maxOfDevice;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
